package com.iman.manjusri.domain;

import java.io.Serializable;
import java.sql.Date;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "drm_articles")
public class ArticleBean implements Serializable {
	@Id
	private long id;
	private String articleTitle;// 文章标题
	private String noticeSubtitle;// 副标题
	private int articleTp;// 文章类型 ; 1= 通知公告 2= 学院动态 3= 行业动态 4= 考试指南 5=备考指南
							// 6=考试动态 7=报考指南 8=制定用书 9=证书与就业 10=活动
	private String article_keys;// 关键字
	private int articleHotyn;// 是否热门
	private String articleDesc;// 文章简述
	private String articleImage;// 文章 头图片
	private String articleContent;// 文章内容，放在monogdb中的ID
	private int articleShowStudent;// 是否显示在学员的空间，通知公告类型会用到 0不现实 1显示
	private String articleAttchYn;// 是否有附件
	private Date articleCdt;// 创建时间
	private Date articleUdt;// 更新时间
	private int browerCnt;// 浏览次数
	private int articleHeadyn;// 是否置顶
	private long articleCid;// 创建者Id
	private long articleUid;// 更新人ID
	private int showImgicon;// 是否给内容插入了图片 0 是没有 1是插入了图片
	private int articleDelyn;// 0 默认值，表示不删除， 1：表示删除

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getArticleTitle() {
		return articleTitle;
	}

	public void setArticleTitle(String articleTitle) {
		this.articleTitle = articleTitle;
	}

	public String getNoticeSubtitle() {
		return noticeSubtitle;
	}

	public void setNoticeSubtitle(String noticeSubtitle) {
		this.noticeSubtitle = noticeSubtitle;
	}

	public int getArticleTp() {
		return articleTp;
	}

	public void setArticleTp(int articleTp) {
		this.articleTp = articleTp;
	}

	public String getArticle_keys() {
		return article_keys;
	}

	public void setArticle_keys(String article_keys) {
		this.article_keys = article_keys;
	}

	public int getArticleHotyn() {
		return articleHotyn;
	}

	public void setArticleHotyn(int articleHotyn) {
		this.articleHotyn = articleHotyn;
	}

	public String getArticleDesc() {
		return articleDesc;
	}

	public void setArticleDesc(String articleDesc) {
		this.articleDesc = articleDesc;
	}

	public String getArticleImage() {
		return articleImage;
	}

	public void setArticleImage(String articleImage) {
		this.articleImage = articleImage;
	}

	public String getArticleContent() {
		return articleContent;
	}

	public void setArticleContent(String articleContent) {
		this.articleContent = articleContent;
	}

	public int getArticleShowStudent() {
		return articleShowStudent;
	}

	public void setArticleShowStudent(int articleShowStudent) {
		this.articleShowStudent = articleShowStudent;
	}

	public String getArticleAttchYn() {
		return articleAttchYn;
	}

	public void setArticleAttchYn(String articleAttchYn) {
		this.articleAttchYn = articleAttchYn;
	}

	

	public Date getArticleCdt() {
		return articleCdt;
	}

	public void setArticleCdt(Date articleCdt) {
		this.articleCdt = articleCdt;
	}

	public Date getArticleUdt() {
		return articleUdt;
	}

	public void setArticleUdt(Date articleUdt) {
		this.articleUdt = articleUdt;
	}

	public int getBrowerCnt() {
		return browerCnt;
	}

	public void setBrowerCnt(int browerCnt) {
		this.browerCnt = browerCnt;
	}

	public int getArticleHeadyn() {
		return articleHeadyn;
	}

	public void setArticleHeadyn(int articleHeadyn) {
		this.articleHeadyn = articleHeadyn;
	}

	public long getArticleCid() {
		return articleCid;
	}

	public void setArticleCid(long articleCid) {
		this.articleCid = articleCid;
	}

	public long getArticleUid() {
		return articleUid;
	}

	public void setArticleUid(long articleUid) {
		this.articleUid = articleUid;
	}

	public int getShowImgicon() {
		return showImgicon;
	}

	public void setShowImgicon(int showImgicon) {
		this.showImgicon = showImgicon;
	}

	public int getArticleDelyn() {
		return articleDelyn;
	}

	public void setArticleDelyn(int articleDelyn) {
		this.articleDelyn = articleDelyn;
	}

}
